<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>10 时间差</title>
</head>
<body>
    
</body>
<script>
    var now = new Date();

    // 五天后的日期
    var date = now.getDate();
    var end = now.setDate(date + 5);
    console.log(end , 111); // 时间戳

</script>
</html>